import {defineComponent} from "vue";

export default defineComponent({
    data(){
        return {
            age:23
        }
    },
    methods:{
        ageAdd(){
            this.age++
        }
    },
    render(){
        return (<div>age:{this.age}<button onClick={this.ageAdd}>add</button></div>);
    }
})